<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\Route;

//$manager = 'manager';
//$wx = 'wx';
//Route::domain($manager, function(){
//	
//	
//});
//Route::domain($wx, function(){
//	
//	
//});


Route::rule('/', 'manager/Index/index');
Route::resource('basemsg', 'manager/BaseMsg');
Route::resource('textmsg', 'manager/TextMsg');
Route::resource('menu', 'manager/Menu');
Route::resource('sendtextMsg', 'manager/SendTextMsg');
Route::rule('sendimgmsg', 'manager/SendImgMsg/index');
//前台
Route::rule('api', 'index/Api/handler');
Route::rule('button', 'index/Menu/pushMenu');
Route::rule('sendmsg', 'index/MassMsg/sendTextMsg');
Route::controller('user', 'index/User');
Route::controller('article', 'index/Article');